const RouterModel = require('@/class/RouterModel');
// 可以配置对应模块下的baseUrl
const baseUrl = '/eservice/knowledgeExternal';
const routerModel = new RouterModel(baseUrl);

routerModel.get('/findKnowledgeTagInfo', ctx => {
  ctx.body = ['sss'];
});

routerModel.post('/config', ctx => {
  ctx.body = {
    data: { isValidIdentifier: true },
  };
});

module.exports = routerModel;